﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SDT.Model;
using SDT.Lib.Paging;
namespace SDT.Site.Areas.User.ViewModels
{
    public class ReadersIndexViewModel
    {
        public IPagedList<Article> Articles;
        public List<ArticleCategory> Categories = new List<ArticleCategory>();
        public int CurrentCat;
        public string Keyword;
        public string ImageRootUrl;
    }
    public class ReadersEditViewModel
    {
        public Article Article { get; set; }
        public List<ArticleCategory> Categories { get; set; }
        public string ImageRootUrl { get; set; }
        public string FileRootURL { get; set; }
        public List<Tag> Tags { get; set; }
        public List<int> ListTagID { get; set; }
        public string CurrentListTag { get; set; }
        public IList<ArticleCategory> ArticleCategory { get; set; }
    }
}
